#ifndef _getop_h
#define _getop_h

/* signal that a number was found */
#define NUMBER 		'0' 
/* buffer size */	
#define BUFSIZE 	512

/* operation codes definition */
enum opcodeT {ADD = 1, SUB, MULT, DIV, EXIT};

/* read a double operand from stdin */
int getOperand(double * op);

/* read a valid operator from stdin */
int getOperator(unsigned char * op);

#endif
